<?php
class Voucher extends AppModel {
    const JUST_CREATED = 1;
    const SENT_CUSTOMER = 2;
    
    public $belongsTo = array(
        'Customer'=>array(
            'className'=>'Customer',
            'foreignKey'=>'customer_id'
        )
    );
}